﻿using Cassandra.Data.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cognitum.CassandraTableStorage.Entities
{
    public abstract class TableServiceEntity
    {
        protected TableServiceEntity()
        { }

        protected TableServiceEntity(string partitionKey)
        {
            this.partition_key = partitionKey;
        }

        [PartitionKey]
        [Column]
        public virtual string partition_key { get; set; }
    }
}